//组合redux的子模块+导出store实例

import { configureStore } from '@reduxjs/toolkit'
import userReducer from './modules/user'


//导出store实例对象
export default configureStore({
  reducer: {
    user: userReducer
  }
})